﻿<phone:PhoneApplicationPage 
	xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
	xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
	xmlns:phone="clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone"
	xmlns:shell="clr-namespace:Microsoft.Phone.Shell;assembly=Microsoft.Phone"
	xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
	xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
	xmlns:local="clr-namespace:Nok_Air"
	mc:Ignorable="d" d:DesignWidth="480" d:DesignHeight="800"
	x:Class="Nok_Air.TermsConditions"
	FontSize="{StaticResource PhoneFontSizeNormal}"
	Foreground="{StaticResource PhoneForegroundBrush}"
	Orientation="Portrait" FontFamily="/Nok Air;component/Fonts/Fonts.zip#PSL Display">

	<Grid x:Name="LayoutRoot" Background="Transparent">
		<Grid.RowDefinitions>
			<RowDefinition Height="70"/>
			<RowDefinition Height="*"/>
			<RowDefinition Height="80"/>
		</Grid.RowDefinitions>
		<Grid Style="{StaticResource TopAppBarStyle}">
			<Grid.ColumnDefinitions>
				<ColumnDefinition  Width="1*"/> 		
				<ColumnDefinition  Width="2*"/> 		
				<ColumnDefinition  Width="1*"/> 		
			</Grid.ColumnDefinitions> 
			<Button x:Name="backButton" Content="Back" HorizontalAlignment="Left"  Width="130" Margin="15,0,0,0" Height="60" Style="{StaticResource BackButtonStyle}" Foreground="White" Visibility="Collapsed" />
			<TextBlock x:Name="Title_checkIn_TextBlock1" Margin="0" TextWrapping="NoWrap" Text="{Binding TermsTitle}" FontSize="48" TextAlignment="Center" HorizontalAlignment="Center" VerticalAlignment="Center" Foreground="White" Grid.Column="1" Visibility="Collapsed"/>
			<Button x:Name="continueButton1" Content="{Binding Continue}" Style="{StaticResource BlueButtonStyle}" Margin="5,0" Click="continueButton_Click" Foreground="White" VerticalAlignment="Center" FontSize="40" Grid.Column="2" />
		</Grid>
        <Grid Style="{StaticResource ContentStyle}" Margin="0">
            <Grid Margin="10,0">
                <Grid.RowDefinitions>
                    <RowDefinition Height="3.5*"/>
                    <RowDefinition Height="1*"/>
                </Grid.RowDefinitions>
                <phone:WebBrowser x:Name="termsBrowser" Margin="10" Source="{Binding TermsURL}" />
                <Grid HorizontalAlignment="Center" Height="45" Margin="0,0,0,0" Grid.Row="1" VerticalAlignment="Center" Width="250">
                	<Grid.ColumnDefinitions>
                		<ColumnDefinition/>
                		<ColumnDefinition/>
                	</Grid.ColumnDefinitions>
                    <RadioButton GroupName="agree" Content="{Binding AcceptText}" Margin="0,0,5,0" BorderThickness="0" Style="{StaticResource BlueRadioButtonStyle}" x:Name="acceptRBT" />
                    <RadioButton GroupName="agree" Content="{Binding DeclineText}" Margin="5,0,0,0" BorderThickness="0" Style="{StaticResource BlueRadioButtonStyle}" IsChecked="True" x:Name="declineRBT" Grid.Column="1" />
                </Grid>
            </Grid>
        </Grid>
        <Grid Grid.Row="2">
			<local:AppBarMenuUserControl/>
		</Grid>
		
		<!--TitlePanel contains the name of the application and page title-->

		<!--ContentPanel - place additional content here-->
	</Grid>
</phone:PhoneApplicationPage>